import React from 'react';
import Css from '../../../../assets/css/pc/member/title/index.css'
const TitleComponent = (props)=>{
    return(
        <div className={Css['titleBox']}>
            <div className={Css['title']}>{props.title}</div>
            {
                props.modal?<div className={Css['modal']} onClick={props.onClick}>{props.modal}</div>:' '
            }
        </div>
    )
}
export default TitleComponent;